package org.hackystat.projectbrowser.page.setaction;

import org.apache.wicket.PageParameters;
import org.hackystat.projectbrowser.page.ProjectBrowserBasePage;

/**
 * The webpage that creates a new negative action.
 * 
 * @author Edward Kim
 * 
 */
public class NewNegativeActionName extends ProjectBrowserBasePage {
  /** Support serialization. */
  private static final long serialVersionUID = 1L;

  /**
   * Create the HomePage.
   * 
   * @param param The params that are passed on to the form.
   */
  public NewNegativeActionName(PageParameters param) {
    String projectName = param.getStringValue("projectName").toString();
    String TAPName = param.getStringValue("tapName").toString();
    add(new NewNegativeActionNameForm("newNegativeActionNameForm", projectName, TAPName));
  }
}
